package com.github.slprj.slake.pb;

import java.nio.ByteBuffer;

/**
 * @author YangXiaoLong
 * 2022/8/22 14:26
 */
public interface PbCallback {

    void readInt(int index, int value);

    void readLong(int index, long value);

    void readBytes(int index, ByteBuffer buf);
}
